#ifndef ENVIRON_H_

#define ENVIRON_H_
//OOP Try

#include <climits>

typedef long Item;

class Stuck
{
private:
    enum setUp {arrMax = 8};
    Item memory_[arrMax];
    int arr;
public:
    Stuck();
    bool add(const Item & num);
    bool remove(Item & num);
    void ctrl(void (*) (Item &, double), double times = 1.5);
    void show() const;
    bool full() const;
    bool empty() const;
    Item cin(Item Min = LONG_MIN, Item Max = LONG_MAX);
};

void mul (Item & num, double);
void div (Item & num, double);

#endif